<template>
  <div class="box">
    我是首页
  </div>
</template>

<script setup>
import {ref, onMounted} from 'vue';
onMounted( async () => {
    await 1 ;
    await 2 ;
    console.log(4)
})
</script>

<style lang="scss" scoped>
  .box {
    padding: 15px;
  }
</style>